diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp	2011-03-31 00:30:50.000000000 +0200
+++ libofx-0.9.5/ofxconnect/ofxpartner.cpp	2012-06-30 21:57:35.747989782 +0200
@@ -37,6 +37,7 @@
 #include <vector>
 #include <algorithm>
 #include <string.h>
+#include <unistd.h>
 
 using std::string;
 using std::vector;
